import {WEBGL} from 'three/examples/jsm/WebGL.js'
import App from '@/App'

if (WEBGL.isWebGLAvailable() && WEBGL.isWebGL2Available()) {
    // Initiate function or other initializations here
    App.renders()
} else {
    const warning = WEBGL.getWebGLErrorMessage();
    document.getElementById('threeApp').appendChild(warning);
}
